package com.apop.accompanyH5.order.enums;

import lombok.Getter;

@Getter
public enum OrderStateEnum {

    INIT(0, "初始"),
    WAIT_PAYMENT(1, "待支付"),
    WAIT_SERVICE(2, "待服务(已支付)"),
    //WAIT_CONFIRM(3, "已服务(待客户确认)"),
    FINISHED(3, "已完成"),
    CANCEL(4, "已取消");

    private final int state;
    private final String desc;

    OrderStateEnum(int state, String desc) {
        this.state = state;
        this.desc = desc;
    }

    public int getState() {
        return state;
    }

    public String getDesc() {
        return desc;
    }


}
